export default defineAppConfig({
  pages: [
    'pages/index/index',
    'pages/personal/index',
    'pages/employee/personal/index',
    'pages/order/index',
    'pages/employee/order/index',
    'pages/service/index',
    'pages/home-more/index',
    'pages/service-list/index',
    'pages/show-userinfo/index',
    'pages/employee-info/index',
    'pages/user/index'
  ],
  window: {
    backgroundTextStyle: 'dark',
    backgroundColor: "#fff",
    navigationBarBackgroundColor: '#fff',
    navigationBarTitleText: '',
    navigationBarTextStyle: 'black',
    enablePullDownRefresh: true,
  },
  tabBar: {
    list: [
      {
        text: "首页",
        pagePath: "pages/index/index",
        iconPath: "images/home-unselected.png",
        selectedIconPath: "images/home-selected.png",
      },
      {
        text: "服务",
        pagePath: "pages/service/index",
        iconPath: "images/product-unselected.png",
        selectedIconPath: "images/product-selected.png"
      },
      {
        text: "订单",
        pagePath: "pages/order/index",
        iconPath: "images/order-unselected.png",
        selectedIconPath: "images/order-selected.png"
      },
      {
        text: "订单",
        pagePath: "pages/employee/order/index",
        iconPath: "images/order-unselected.png",
        selectedIconPath: "images/order-selected.png"
      },
      {
        text: "我的",
        pagePath: "pages/personal/index",
        iconPath: "images/personal-unselected.png",
        selectedIconPath: "images/personal-selected.png"
      },
      {
        text: "我的",
        pagePath: "pages/employee/personal/index",
        iconPath: "images/personal-unselected.png",
        selectedIconPath: "images/personal-selected.png"
      }
    ],
    position: "bottom",
    selectedColor: "#6190E8",
    custom: true
  },
  lazyCodeLoading: "requiredComponents",
})
